package com.jiajia.testclouduser.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Setter
@Getter
@ToString
public class BaseResult<Result> implements Serializable {

    public static final Integer OK = 0;

    public static final Integer ERROR = -1;

    /**
     * 返回码
     */
    private Integer code;

    /**
     * 返回数据
     */
    private Result data;

    /**
     * 返回提示信息
     */
    private String message;



}
